<?php 
	if (isset($_POST['CapNhatThuongHieu']))
	{
		$MaThuongHieu = $_REQUEST['MaThuongHieu'];
		$TenThuongHieu = $_REQUEST['TenThuongHieu'];
		$ThongTin = $_REQUEST['ThongTin'];
		include "connection.php";
		$sql="UPDATE thuonghieu SET TenThuongHieu='".$TenThuongHieu."', ThongTin='".$ThongTin."'
		WHERE MaThuongHieu='" .$MaThuongHieu."'";
		if (!mysql_query($sql))
		{
			die('Error: ' . mysql_error());
		}
		header("location:../MyModel/TrangAD_qlthuonghieu.php");
		mysql_close($con);
	}
?>